package com.xxx.user.service;

import com.xxx.user.domain.User;
import com.xxx.user.query.UserQuery;

import java.util.List;

public interface IUserService {
    //查询所有用户
    List<User> findAll();

    //通过ID查询用户
    User findOne(long id);

    //分页加条件查询
    List<User> queryPage(UserQuery userQuery);

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(long id);

    void batchUsers(long[] ids);
}
